﻿using UnityEngine;


/// <summary>
/// 事件参数|
/// </summary>
public class KeyEvent
{
    public KeyCode KeyCode { get; private set; }

    public bool IsPressed { get; private set; }


    public KeyEvent(KeyCode keyCode, bool isPressed)
    {
        KeyCode = keyCode;
        IsPressed = isPressed;
    }
}